﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    x:Class="WowVoiceBox.Window1"
    Title="WoW VoiceBox" Height="263" Width="618" Opacity="0.245" AllowsTransparency="True" WindowStyle="None" x:Name="window" Background="#00FFFFFF" ResizeMode="NoResize" MouseDown="window_MouseDown" Loaded="window_Loaded" Closing="window_Closing" Icon="Speech.ico">
	<Window.Resources>
		<Storyboard x:Key="Timeline1">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="{x:Null}" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.245"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="Timeline2">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="{x:Null}" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0.245"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</Window.Resources>
	<Window.Triggers>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded"/>
		<EventTrigger RoutedEvent="Mouse.MouseEnter">
			<BeginStoryboard Storyboard="{StaticResource Timeline1}" x:Name="Timeline1_BeginStoryboard"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.MouseLeave">
			<BeginStoryboard x:Name="Timeline2_BeginStoryboard1" Storyboard="{StaticResource Timeline2}"/>
		</EventTrigger>
	</Window.Triggers>
    <Grid Opacity="1" Background="#00000000">
        <Button Height="23" HorizontalAlignment="Left" Margin="8,56,0,0" x:Name="btnQuit" VerticalAlignment="Top" Width="75" Click="button2_Click" d:LayoutOverrides="VerticalAlignment, GridBox" Content="Quit"/>
    	<Label x:Name="lblCurrentCommand" Width="75" HorizontalContentAlignment="Right" d:LayoutOverrides="GridBox" Background="#7F000000" FontSize="16" FontWeight="Bold" Foreground="#FFFF0000" Content="" HorizontalAlignment="Left" Margin="8,8,0,0" VerticalAlignment="Top" Height="44" VerticalContentAlignment="Center"/>
    	<TextBox x:Name="tbDictatedText" IsReadOnly="False" TextWrapping="Wrap" d:LayoutOverrides="GridBox" ForceCursor="False" OverridesDefaultStyle="False" SpellCheck.IsEnabled="False" Background="#80000000" FontSize="16" FontWeight="Bold" Foreground="#FFFF0000" Text="" Margin="0,8,8,0" BorderThickness="0,0,0,0" HorizontalAlignment="Right" Width="523" VerticalAlignment="Top" Height="71" />
    	<ListBox Margin="87,83,8,7" IsSynchronizedWithCurrentItem="True" x:Name="lbCorrectionOptions" Background="#7F000000" BorderThickness="0,0,0,0" FontSize="14" Foreground="#FFFF0000" ScrollViewer.CanContentScroll="False" ScrollViewer.VerticalScrollBarVisibility="Disabled" ItemTemplate="{Binding Text}">
            <ListBoxItem Content="42574257"/>
            <ListBoxItem Content="24572457"/>
            <ListBoxItem Content="8568563"/>
            <ListBoxItem Content="56385368"/>
            <ListBoxItem Content="53683586"/>
            <ListBoxItem Content="35683568"/>
            <ListBoxItem Content="35683568"/>
            <ListBoxItem Content="35683568"/>
            <ListBoxItem Content="2457"/>
        </ListBox>
    </Grid>
</Window>
